// UsbPhone.cpp : Implementation of CUsbPhone

#include "stdafx.h"
#include "UPhoneCtrl.h"
#include "UsbPhone.h"

/////////////////////////////////////////////////////////////////////////////
// CUsbPhone
#include "..\\lib\\WJProtocol.h" 


STDMETHODIMP CUsbPhone::InitPhone()
{
	// TODO: Add your implementation code here
    //InitWJUsb(100,this->m_hWnd);
	return S_OK;
}

STDMETHODIMP CUsbPhone::get_PhoneType(BSTR *pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::get_PhoneStatus(BSTR *pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::ReleasePhone()
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::get_PhoneHWVersion(INT *pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}

//DEL STDMETHODIMP CUsbPhone::put_PhoneHWVersion(INT newVal)
//DEL {
//DEL 	// TODO: Add your implementation code here
//DEL 
//DEL 	return S_OK;
//DEL }

STDMETHODIMP CUsbPhone::get_HW_Version(BSTR *pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::get_SW_Version(BSTR *pVal)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::DialNumber(BSTR strDialNumber)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::HandFreeAndDial(BSTR strDialNumber)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::QueryPhoneStatus()
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::HandFreeOn()
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::HandFreeOff()
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::DecodeEvent(INT EventId, BSTR *strEvent, int strBuffLen)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::MutePhoneRing(INT isMute)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::RF_Function(short OffTimeInMs)
{
	// TODO: Add your implementation code here

	return S_OK;
}

STDMETHODIMP CUsbPhone::DeInitPhone()
{
	// TODO: Add your implementation code here

	return S_OK;
}
